physdev: make PHYSDEVOP_pirq_eoi_mfn use of gmfn instead of mfn.
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 3 Dec 2008 11:44:47 +0000 (11:44 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 3 Dec 2008 11:44:47 +0000 (11:44 +0000)
commitea755e04339877ec26d773ab814d7cab64f12b72
treecec2c61174bfe60483428150382efcc4315e9dd1
parent964960aa1888126a9486e33862ce85de331b970b
physdev: make PHYSDEVOP_pirq_eoi_mfn use of gmfn instead of mfn.

To pass a page from a guest to hypervisor, gmfn should be used
instead of mfn like grant table and other hypercalls. It's more
consistent. So make use of gmfn instead of mfn for
PHYSDEVOP_pirq_eoi_mfn hypercall.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/physdev.c
xen/arch/x86/x86_64/physdev.c
xen/include/public/physdev.h